package com.mordenxshop.common.constant;

public class PurchaseConstant {
    public enum PurchaseStatusEnum{
        PURCHASE_STATUS_NEW_CREATED(0,"新建"),
        PURCHASE_STATUS_ASSIGNED(1,"已分配"),
        PURCHASE_STATUS_BUYING(2,"正在采购"),
        PURCHASE_STATUS_ENDING (3,"已完成"),
        PURCHASE_STATUS_ERROR(4,"采购失败");
        private int code;
        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        private String message;
        PurchaseStatusEnum(int code,String message){
            this.code=code;
            this.message=message;
        }


    }
}
